package com.iplay.dahua.chapter2.simpleFactory;

/**
 * @author dangwu
 * @since 2021/7/21 3:39 下午
 */
public class TestCash {
    public static void main(String[] args) {
        String type = "1";
        BaseCashSuper cashAccept = CashFactory.createCashAccept(type);
        double v = cashAccept.acceptCash(100);
        System.out.println(v);
    }
}
